<!DOCTYPE html>
<html lang="en">
<head>
    <script type="text/css">
        input{
            height: 70px;
            width: 100px;
        }
    </script>

    <meta charset="UTF-8">
    <title>班级列表</title>
</head>
<body>

    {% for foo in grade %}
        <form action="{% url 'student:get_studnt' %}" method="get">
        <input name="grade_name" type="text" value="{{ foo.id }}" hidden="hidden">
        <input type="submit" value="{{ foo.g_name }}"/>
        <br>
        <br>
        </form>
    {% endfor %}

<script>

</script>
</body>
</html>